﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hmc.im.service.core
{
    public static class UserAccessTokenDB
    {
        public static List<UserAccessTokenEntity> DB = new List<UserAccessTokenEntity>();


    }

    public class UserAccessTokenEntity
    {
        public long UserId { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public string IP { get; set; }
        public string AccessToken { get; set; }
        /// <summary>
        /// 最后通讯时间
        /// </summary>
        public DateTime LastCcommunication { get; set; }

        /// <summary>
        /// 本次连接Point
        /// </summary>
        public string RemoteEndPoint { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public long LastLoginTime { get; set; }

        /// <summary>
        /// 最后退出时间
        /// </summary>
        public long LastExitTime { get; set; }

    }
}
